package com.fanshe.demo02;

public class Demo02 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class<?> aClass = Class.forName("com.fanshe.demo02.Student");
        System.out.println(aClass);
        Class<Student> studentClass = Student.class;
        System.out.println(studentClass);

        Student student = new Student();
        Class aClass1 = student.getClass();
        System.out.println(aClass1);
    }
}
